<!-- #include file="../include/config.asp" -->
<%
'****************************************************
' Joekoe CMS 1.2 Free      Power by Joekoe.com
' Email: info@asp126.com  asp126@qq.com
' Web: http://www.asp126.com , http://www.ude.com.cn
' Copyright (C) 2004 Asp126.com All Rights Reserved.
'****************************************************

dim back_url,old_url
back_url=request.servervariables("http_referer")
old_url=trim(request.querystring("old_url"))
if back_url="" then back_url="./"
if old_url<>"" then back_url=old_url

select case action
case "cookies_clear"
  call cookies_clear()
case else
  call skin_type()
end select

call earse_sdim()
call web_clear(0)
response.redirect back_url

sub cookies_clear()
  dim cookies_name
  for each cookies_name in request.cookies(joekoe_cms.web_cookies)
    response.cookies(joekoe_cms.web_cookies)(cookies_name)=empty
  next
end sub

sub skin_type()
  dim j
  j=ubound(skin_dim,1)
  for i=0 to j
    if action=skin_dim(i,0) then
      response.cookies(joekoe_cms.web_cookies)("skin_var")=action
      response.cookies(joekoe_cms.web_cookies)("skin_wid")=skin_dim(i,2)
      exit for
    end if
  next
end sub

'****************************************************
' Joekoe CMS 1.2 Free      Power by Joekoe.com
' Email: info@asp126.com  asp126@qq.com
' Web: http://www.asp126.com , http://www.ude.com.cn
' Copyright (C) 2004 Asp126.com All Rights Reserved.
'****************************************************
%>